Constant Time Generation of Free Trees

نویسندگان

  • Robert Alan Wright
  • L. Bruce Richmond
  • Andrew M. Odlyzko
  • Brendan D. McKay
چکیده

An algorithm of Beyer and Hedetniemi for generating unlabeled rooted trees is extended to generate unlabeled free trees. Abstract An algorithm of Beyer and Hedetniemi for generating unlabeled rooted trees is extended to generate unlabeled free trees. “The Beyer-Hedetniemi technique is refined to produce only one member of each equivalence class of rooted trees under isomorphism of the underlying free (unrooted) trees.”An algorithm of Beyer and Hedetniemi for generating unlabeled rooted trees is extended to generate unlabeled free trees. “The Beyer-Hedetniemi technique is refined to produce only one member of each equivalence class of rooted trees under isomorphism of the underlying free (unrooted) trees.” Beyer-Hedetniemi Algorithm generating rooted trees Beyer-Hedetniemi Algorithm generating rooted trees Basics Represent rooted tree using a sequence Use an iterative procedure (successor function) to generate all sequences (“The method uses a successor function to traverse an ordered set of integer sequences which represents the objects being generated”). Rooted Tree Representation with Sequences Pre-order traversal with distance from root 1 2 3 4 4 3 2 2 3 4 3 2 3 4 4 2 2 3 3 4 3 Rooted Tree Representation with Sequences Pre-order traversal with distance from root 1 2 3 4 4 3 2 2 3 4 3 2 3 4 4 2 2 3 3 4 3

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Parallel Generation of t-ary Trees

A parallel algorithm for generating t-ary tree sequences in reverse B-order is presented. The algorithm generates t-ary trees by 0-1 sequences, and each 0-1 sequences is generated in constant average time O(1). The algorithm is executed on a CREW SM SIMD model, and is adaptive and cost-optimal. Prior to the discussion of the parallel algorithm a new sequential generation with O(1) average time ...

متن کامل

Changes of free polyamines in the leaves and stems of ‘Kinnow’ mandarin tree as affected by alternate bearing

In order to investigate the seasonal changes and the possible role of the free polyamines in the leaves and stems on the alternate bearing habit of the ‘Kinnow’ mandarin (Citrus reticulata Blanco) trees, a comparative study was conducted to analyze the levels of free polyamines  (putrescine, spermidine and spermine) in the leaves and stems tissues of “on” and &ldquo...

متن کامل

Determining Leisure Time as a Mechanism to Reduce Youth Generation Drug Use

The purpose of this study is to determine the youth generation leisure time as an important factor in reducing their inclination toward drug use in North Khorasan Province, by comparing drug addicted youth in addiction treatment centers of Social Welfare Organization with other non-addicted youth. This was a survey study and a questionnaire was used for data collection. The data was analyzed by...

متن کامل

Constant-memory Iterative Generation of Special Strings Representing Binary Trees

The shapes of binary trees can be encoded as permutations having a very special property. These permutations are tree permutations, or equivalently they avoid subwords of the type 231. The generation of binary trees in natural order corresponds to the generation of these special permutations in the lexicographic order. In this paper we use a stringologic approach to the generation of these spec...

متن کامل

Hydrogen generation from hydrolysis of sodium borohydride using sulfonated porous carbon as reagent/catalyst

The hydrolysis of sodium borohydride as a source of hydrogen gas is studied at different mole ratios of H+ to NaBH4. The sulfonated porous carbon (SPC) is used as a source of hydrogen ion and catalyst. It is found that the sulfonated porous carbon exhibits high activity for the hydrolysis of NaBH4 to generate hydrogen gas at room temperature in comparison to Amberlyst-15 and Nafion-NR50. The ki...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • SIAM J. Comput.

دوره 15  شماره 

صفحات  -

تاریخ انتشار 1986